-- File Name : 740L44.BSD -- Created by : Altera Corporation -- Documentation : FLEXlogic Application Support Manual -- AB51- Overview of In-Circuit Recoguration and -- Programming for the FLEXlogic EPX780 and EPX740 -- BSDL revision : 1.3 -- Date created : 03/21/94 -- Device : EPX740 -- Package : 44 Pin J-lead Chip Carrier (PLCC) -- -- IMPORTANT NOTICE -- -- Altera and EPX740 are trademarks of Altera Corporation. -- Altera products, marketed under trademarks are protected -- under numerous US and foreign patents and pending -- applications, maskwork rights, and copyrights. Altera -- warrants performance of its semiconductor products to -- current specifications in accordance with Altera's standard -- warranty, but reserves the right to make changes to any -- products and services at any time without notice. Altera -- assumes no responsibility or liability arising out of the -- application or use of any information, product, or service -- described herein except as expressly agreed to in writing -- by Altera Corporation. Altera customers are advised to -- obtain the latest version of device specifications before -- relying on any published information and before placing -- orders for products or services. entity IntelFX740_44 is generic(PHYSICAL_PIN_MAP : string := "PLCC_44pin"); port ( CLK1 : in bit; CLK2 : in bit; INP : in bit_vector(0 to 9); -- inputs IO : inout bit_vector(0 to 39); -- I/O pins TCK, TMS, TDI : in bit; -- Scan Port inputs TDO : out bit; -- Scan Port output VCC : linkage bit ; -- VCC VCCO : linkage bit_vector(0 to 1); -- VCC VSS : linkage bit_vector(1 to 4); -- GND pins VPP : linkage bit -- VPP pin ); -- end of ports use STD_1149_1_1990.all; attribute PIN_MAP of IntelFX740_44 : entity is PHYSICAL_PIN_MAP; constant PLCC_44pin : PIN_MAP_STRING := -- Define Pin Out of QFP -- NOTE: lots of the I/O pins in the 44 pin package are buried -- and do not have an external pin. These are represented as being -- above pin 50. -- I/O pins "IO:(16, 50, 51, 17, 52, 18, 53, 19, 54, 20," & "11, 10, 9, 8, 7, 6, 5, 4, 3, 2, " & "33, 32, 31, 30, 29, 28, 27, 26, 25, 24," & "38, 55, 56, 39, 57, 40, 58, 41, 59, 42), " & -- Dedicated Clocks "CLK1:13, CLK2:35," & -- Power pins "VSS:(1, 15, 36, 37)," & -- GND "VCC:23, VPP:14," & "VCCO:(12, 34), " & -- TAP controller pins "TCK:43, TMS:44, TDI:22, TDO:21," & -- Dedicated Inputs "INP:(60,61,62,63,64,65,66,67,68,69)"; attribute Tap_Scan_In of TDI : signal is true; attribute Tap_Scan_Mode of TMS : signal is true; attribute Tap_Scan_Out of TDO : signal is true; attribute Tap_Scan_Clock of TCK : signal is (8.0e6, BOTH); attribute Instruction_Length of IntelFX740_44: entity is 5; attribute Instruction_Opcode of IntelFX740_44: entity is "BYPASS (11111)," & "EXTEST (00000)," & "SAMPLE (00001)," & "IDCODE (00010)," & "LDVECT (00101)," & "FREAD (00110)," & "SWRITE (01111)," & "SREAD (10000)," & "FPGM (10101)," & "UESCODE (10110)," & "RADLOAD (11000)," & "ISCAN (11110)," & "TRIBYP (11101)," & -- Boundary Hi-Z "PRIVATE (00011,00100,00111,01000,01001,01010,01011,01100,01101), " & "PRIVATE (01110,10001,10010,10011,10100,10111,11001,11010,11011,11100)"; attribute Instruction_Capture of IntelFX740_44: entity is "00001"; -- there is no Instruction_Disable attribute for IntelFX740_44 attribute Instruction_Private of IntelFX740_44: entity is "private"; attribute Instruction_Usage of IntelFX740_44: entity is "FPGM (registers VERIFY; " & "result 1;" & "clock CLK in Run_Test_Idle;" & "length 25.0e9 )"; attribute Idcode_Register of IntelFX740_44: entity is "0001" & --version "0000011000100010" & --part number "00000001001" & --manufacturers identity, 9h for Intel "1"; --required by the standard attribute Register_Access of IntelFX740_44: entity is "BYPASS (BYPASS, TRIBYP)," & -- 1149.1 bypass -- High-Z Bypass "BOUNDARY (EXTEST, SAMPLE)," & -- 1149.1 extest & sample "IDCODE (IDCODE)," & -- 1149.1 device id code "EPROM_VECTOR[43] (LDVECT)," & -- semi-private eprom prog. "ROW_VECTOR[606] (FREAD, SWRITE, SREAD)," & -- semi-private eprom read -- semi-private sram write -- semi-private sram read "VERIFY[1](FPGM)," & -- semi-private eprom verify "UES_CODE[300] (UESCODE)," & -- semi-private user code "ADDR[6] (RADLOAD)," & -- semi-private address load "REGISTER_SCAN[40] (ISCAN)"; -- semi-private all mcells --{*******************************************************************} -- ISCAN CHAIN - The ISCAN chain scans out the device macrocell registers -- in the order given below. It goes from Macrocell 9 to 0 in each CFB, -- and from CFB 0 to CFB 3. See the appropriate application notes and -- datasheet restrictions on how to use this instruction. -- TDI -> IO9,IO8,IO7,IO6,IO5,IO4,IO3,IO2,IO1,IO0, IO19,IO18,IO17,...IO30 -> TDO --{*******************************************************************} --{ The first cell is closest to TDO } --{*******************************************************************} attribute Boundary_Length of IntelFX740_44: entity is 132; attribute Boundary_Cells of IntelFX740_44: entity is "BC_1, BC_4"; attribute Boundary_Register of IntelFX740_44: entity is -- -- NOTE 1: The order for each IO is -> ( OE cell, OUT cell, IN cell ) -- -- NOTE 2: To disable an output, a 0 is needed in the OE cell. -- This is specified here for safety, so that the -- output drivers will be 3-stated between actions. -- --num cell port function safe ccell dsval rslt " 0 (BC_1, *, CONTROLR, 0)," & -- IO09.OE " 1 (BC_1, IO(9), output3, X, 0, 0, Z)," & -- IO09.OUT " 2 (BC_1, IO(9), input, X)," & -- IO09.IN " 3 (BC_1, *, CONTROLR, 0)," & -- IO08 " 4 (BC_1, IO(8), output3, X, 3, 0, Z)," & " 5 (BC_1, IO(8), input, X)," & " 6 (BC_1, *, CONTROLR, 0)," & -- IO07 " 7 (BC_1, IO(7), output3, X, 6, 0, Z)," & " 8 (BC_1, IO(7), input, X)," & " 9 (BC_1, *, CONTROLR, 0)," & -- IO06 " 10 (BC_1, IO(6), output3, X, 9, 0, Z)," & " 11 (BC_1, IO(6), input, X)," & " 12 (BC_1, *, CONTROLR, 0)," & -- IO05 " 13 (BC_1, IO(5), output3, X, 12, 0, Z)," & " 14 (BC_1, IO(5), input, X)," & " 15 (BC_1, *, CONTROLR, 0)," & -- IO04 " 16 (BC_1, IO(4), output3, X, 15, 0, Z)," & " 17 (BC_1, IO(4), input, X)," & " 18 (BC_1, *, CONTROLR, 0)," & -- IO03 " 19 (BC_1, IO(3), output3, X, 18, 0, Z)," & " 20 (BC_1, IO(3), input, X)," & " 21 (BC_1, *, CONTROLR, 0)," & -- IO02 " 22 (BC_1, IO(2), output3, X, 21, 0, Z)," & " 23 (BC_1, IO(2), input, X)," & " 24 (BC_1, *, CONTROLR, 0)," & -- IO01 " 25 (BC_1, IO(1), output3, X, 24, 0, Z)," & " 26 (BC_1, IO(1), input, X)," & " 27 (BC_1, *, CONTROLR, 0)," & -- IO00 " 28 (BC_1, IO(0), output3, X, 27, 0, Z)," & " 29 (BC_1, IO(0), input, X)," & " 30 (BC_4, CLK1, INPUT, X)," & -- CLK1 " 31 (BC_4, INP(0), INPUT, X)," & -- IN0 " 32 (BC_4, INP(1), INPUT, X)," & -- IN1 " 33 (BC_1, *, CONTROLR, 0)," & -- IO10 " 34 (BC_1, IO(10), output3, X, 33, 0, Z)," & " 35 (BC_1, IO(10), input, X)," & " 36 (BC_1, *, CONTROLR, 0)," & -- IO11 " 37 (BC_1, IO(11), output3, X, 36, 0, Z)," & " 38 (BC_1, IO(11), input, X)," & " 39 (BC_1, *, CONTROLR, 0)," & -- IO12 " 40 (BC_1, IO(12), output3, X, 39, 0, Z)," & " 41 (BC_1, IO(12), input, X)," & " 42 (BC_1, *, CONTROLR, 0)," & -- IO13 " 43 (BC_1, IO(13), output3, X, 42, 0, Z)," & " 44 (BC_1, IO(13), input, X)," & " 45 (BC_1, *, CONTROLR, 0)," & -- IO14 " 46 (BC_1, IO(14), output3, X, 45, 0, Z)," & " 47 (BC_1, IO(14), input, X)," & " 48 (BC_1, *, CONTROLR, 0)," & -- IO15 " 49 (BC_1, IO(15), output3, X, 48, 0, Z)," & " 50 (BC_1, IO(15), input, X)," & " 51 (BC_1, *, CONTROLR, 0)," & -- IO16 " 52 (BC_1, IO(16), output3, X, 51, 0, Z)," & " 53 (BC_1, IO(16), input, X)," & " 54 (BC_1, *, CONTROLR, 0)," & -- IO17 " 55 (BC_1, IO(17), output3, X, 54, 0, Z)," & " 56 (BC_1, IO(17), input, X)," & " 57 (BC_1, *, CONTROLR, 0)," & -- IO18 " 58 (BC_1, IO(18), output3, X, 57, 0, Z)," & " 59 (BC_1, IO(18), input, X)," & " 60 (BC_1, *, CONTROLR, 0)," & -- IO19 " 61 (BC_1, IO(19), output3, X, 60, 0, Z)," & " 62 (BC_1, IO(19), input, X)," & " 63 (BC_4, INP(2), INPUT, X)," & -- IN2 " 64 (BC_4, INP(3), INPUT, X)," & -- IN3 " 65 (BC_4, INP(4), INPUT, X)," & -- IN4 " 66 (BC_1, *, CONTROLR, 0)," & -- IO39 " 67 (BC_1, IO(39), output3, X, 66, 0, Z)," & " 68 (BC_1, IO(39), input, X)," & " 69 (BC_1, *, CONTROLR, 0)," & -- IO38 " 70 (BC_1, IO(38), output3, X, 69, 0, Z)," & " 71 (BC_1, IO(38), input, X)," & " 72 (BC_1, *, CONTROLR, 0)," & -- IO37 " 73 (BC_1, IO(37), output3, X, 72, 0, Z)," & " 74 (BC_1, IO(37), input, X)," & " 75 (BC_1, *, CONTROLR, 0)," & -- IO36 " 76 (BC_1, IO(36), output3, X, 75, 0, Z)," & " 77 (BC_1, IO(36), input, X)," & " 78 (BC_1, *, CONTROLR, 0)," & -- IO35 " 79 (BC_1, IO(35), output3, X, 78, 0, Z)," & " 80 (BC_1, IO(35), input, X)," & " 81 (BC_1, *, CONTROLR, 0)," & -- IO34 " 82 (BC_1, IO(34), output3, X, 81, 0, Z)," & " 83 (BC_1, IO(34), input, X)," & " 84 (BC_1, *, CONTROLR, 0)," & -- IO33 " 85 (BC_1, IO(33), output3, X, 84, 0, Z)," & " 86 (BC_1, IO(33), input, X)," & " 87 (BC_1, *, CONTROLR, 0)," & -- IO32 " 88 (BC_1, IO(32), output3, X, 87, 0, Z)," & " 89 (BC_1, IO(32), input, X)," & " 90 (BC_1, *, CONTROLR, 0)," & -- IO31 " 91 (BC_1, IO(31), output3, X, 90, 0, Z)," & " 92 (BC_1, IO(31), input, X)," & " 93 (BC_1, *, CONTROLR, 0)," & -- IO30 " 94 (BC_1, IO(30), output3, X, 93, 0, Z)," & " 95 (BC_1, IO(30), input, X)," & " 96 (BC_4, CLK2, INPUT, X)," & -- CLK2 " 97 (BC_4, INP(5), INPUT, X)," & -- IN5 " 98 (BC_4, INP(6), INPUT, X)," & -- IN6 " 99 (BC_1, *, CONTROLR, 0)," & -- IO20 "100 (BC_1, IO(20), output3, X, 99, 0, Z)," & "101 (BC_1, IO(20), input, X)," & "102 (BC_1, *, CONTROLR, 0)," & -- IO21 "103 (BC_1, IO(21), output3, X, 102, 0, Z)," & "104 (BC_1, IO(21), input, X)," & "105 (BC_1, *, CONTROLR, 0)," & -- IO22 "106 (BC_1, IO(22), output3, X, 105, 0, Z)," & "107 (BC_1, IO(22), input, X)," & "108 (BC_1, *, CONTROLR, 0)," & -- IO23 "109 (BC_1, IO(23), output3, X, 108, 0, Z)," & "110 (BC_1, IO(23), input, X)," & "111 (BC_1, *, CONTROLR, 0)," & -- IO24 "112 (BC_1, IO(24), output3, X, 111, 0, Z)," & "113 (BC_1, IO(24), input, X)," & "114 (BC_1, *, CONTROLR, 0)," & -- IO25 "115 (BC_1, IO(25), output3, X, 114, 0, Z)," & "116 (BC_1, IO(25), input, X)," & "117 (BC_1, *, CONTROLR, 0)," & -- IO26 "118 (BC_1, IO(26), output3, X, 117, 0, Z)," & "119 (BC_1, IO(26), input, X)," & "120 (BC_1, *, CONTROLR, 0)," & -- IO27 "121 (BC_1, IO(27), output3, X, 120, 0, Z)," & "122 (BC_1, IO(27), input, X)," & "123 (BC_1, *, CONTROLR, 0)," & -- IO28 "124 (BC_1, IO(28), output3, X, 123, 0, Z)," & "125 (BC_1, IO(28), input, X)," & "126 (BC_1, *, CONTROLR, 0)," & -- IO29 "127 (BC_1, IO(29), output3, X, 126, 0, Z)," & "128 (BC_1, IO(29), input, X)," & "129 (BC_4, INP(7), INPUT, X)," & -- IN7 "130 (BC_4, INP(8), INPUT, X)," & -- IN8 "131 (BC_4, INP(9), INPUT, X)" ; -- IN9 end IntelFX740_44;